//消息框按钮回调函数
void UI_NET_msgbox(void)
{
    lv_obj_t * mbox1 = lv_msgbox_create(sr2);
    lv_obj_align(mbox1, LV_ALIGN_CENTER,0,0);
    lv_msgbox_add_title(mbox1, "Hello");
    lv_msgbox_add_text(mbox1, "This is a message box with two buttons.");
    lv_msgbox_add_close_button(mbox1);
    lv_obj_t * btn;
    btn = lv_msgbox_add_footer_button(mbox1, "Apply");
    lv_obj_add_event_cb(btn, event_cb, LV_EVENT_CLICKED, NULL);
    btn = lv_msgbox_add_footer_button(mbox1, "Cancel");
    lv_obj_add_event_cb(btn, event_cb, LV_EVENT_CLICKED, NULL);
    return;
}